<?xml version="1.0" encoding="UTF-8"?>
<definitions id="definitions"
  xmlns="http://www.omg.org/spec/BPMN/20100524/MODEL"
  xmlns:camunda="http://camunda.org/schema/1.0/bpmn" 
  targetNamespace="Examples">

  <signal id="alertSignal" name="alert" />

  <process id="catchSignal" isExecutable="true">

    <startEvent id="start" />

    <sequenceFlow sourceRef="start" targetRef="signalEvent" />

    <intermediateCatchEvent id="signalEvent" name="Alert">
      <signalEventDefinition signalRef="alertSignal" />
    </intermediateCatchEvent>

    <sequenceFlow sourceRef="signalEvent" targetRef="serviceTask" />

    <serviceTask id="serviceTask" camunda:class="org.camunda.bpm.engine.test.api.runtime.FailingDelegate" />

    <sequenceFlow sourceRef="serviceTask" targetRef="end" />

    <endEvent id="end" />

  </process>

</definitions>
